<div id="bodyPan">
 <table width="100%" align="center" style="padding-top:10px">
	<tr>
<th>Title</th>
<th># of Views</th>
<th>Last Updated</th>
<th></th>
<th></th>
<th></th>
</tr>
  <% i = 0 %>
  <% for webcomic in @webcomics %>
    <% if i % 2 == 0 %>
    <% x = "even" %>
    <% else %>
    <% x = "odd" %>
    <% end %>
    <tr>
      <%= "<td class=\"" + x + "\" width=\"43%\">"%>
        <%= link_to webcomic.title, webcomic%>
      </td>
      <%= "<td class=\"" + x + "\" width=\"12%\">"%>      
        <%= webcomic.number_of_views %>
      </td>
      <%= "<td class=\"" + x + "\" width=\"15%\">"%>      
        <%= webcomic.updated_at.localtime.strftime("%m-%d-%Y") %>
      </td>
    <%= "<td class=\"" + x + "\" width=\"\">"%>      
		<%= link_to 'Edit', edit_webcomic_path(webcomic) %>
	  </td>
    <%= "<td class=\"" + x + "\" width=\"\">"%>      
		<%= link_to 'Delete', webcomic_path(webcomic), :confirm => 'Are you sure?', :method => :delete %>
	  </td>
    <%= "<td class=\"" + x + "\" width=\"\">"%>      
		<%= link_to 'Manage Strips', webcomic_strips_path(webcomic) %>
	  </td>
	 <% i = i + 1 %>
   </tr>
  <% end %>
</table>
</div>